#include "laddatabasemanager.h"

const QString ladDatabaseManager::NomTableClients = QString("Clients");
const QString ladDatabaseManager::NomTableClientsListeContact = QString("Clients_Liste_Contacts");
const QString ladDatabaseManager::NomTableClientsListeDateContact = QString("Clients_Liste_DateContact");
const QString ladDatabaseManager::NomTableClientsListeDateObtenu = QString("Clients_Liste_DateObtenu");
const QString ladDatabaseManager::NomTableTypePrestation = QString("TypePrestation");
const QString ladDatabaseManager::NomTableTypeClient = QString("TypeClient");
const QString ladDatabaseManager::NomTableTypeSono = QString("TypeSono");
const QString ladDatabaseManager::NomTableUser = QString("Users");
const QString ladDatabaseManager::champId = QString("id");
const QString ladDatabaseManager::champIntitule = QString("intitule");
// MySQl
const QString ladDatabaseManager::typeId = QString("SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT");
// SqLite
//const QString ladDatabaseManager::typeId = QString("INTEGER PRIMARY KEY ASC");
const QString ladDatabaseManager::typeIntitule = QString("varchar(30)");

ladDatabaseManager::ladDatabaseManager()
{
}
void ladDatabaseManager::setSqlType(QString typeSql)
{
    m_TypeSql = typeSql;
}
QString ladDatabaseManager::getSqlType()const
{
    return m_TypeSql;
}
